<#assign base=request.contextPath>
<!DOCTYPE html> 
<html>
	<head>
		<title>${title}</title>
		<meta charset="utf-8">
		<#include "common/reference.ftl" />
		<#include "common/am.reference.ftl" />
	</head>
	<body class="${configs["skinName"]}">
		<div class="page-content">
			<div class="row">
			<#if viewMode !="view">
			<#include "common/breadcrumb.ftl">
			</#if>
				<form id="form" role="form" class="form-horizontal" method="post" action="${base}/${form_action}">
					<div class="col-xs-12">
						<div class="widget-box">
							<div class="widget-body">
								<input type="hidden" name="id" id="id" value="${model.id}" <#if viewMode == "view">disabled</#if>>
								<#if viewMode == "view">
								<div class="widget-header widget-header-flat">
									<h5 class="lighter">
										${module}
									</h5>
								</div>
								<#else>
								<div class="alert alert-warning">
									<strong>提示!</strong>
									<strong style="color:#dd514c;">出现红框</strong>的表示不能为空
								</div>
								</#if>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        公司标识
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="CompanyId" name="CompanyId" value="5201HDCX8779" class="form-control" required placeholder="请输入标题" disabled>
                                        <span class="lbl">公司标识 部统一分配</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        行政区划代码
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="Address" name="Address" value="${model.getAddress()}" class="form-control" required placeholder="请输入行政区划代码">
                                        <span class="lbl">行政区划代码 运价适用地的行政代码，见GB/T 2260</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        运价类型编码
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="FareType" name="FareType" value="${model.getFareType()}" class="form-control" required placeholder="请输入运价类型编码">
                                        <span class="lbl">运价类型编码  用网约车平台公司统一编码，应保持唯一性</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        运价类型说明
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="FareTypeNote" name="FareTypeNote" value="${model.getFareTypeNote()}" class="form-control"  placeholder="请输入运价类型说明">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        运价有效期起
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="FareValidOn" name="FareValidOn" value="${model.getFareValidOn()}" class="form-control" required placeholder="请输入运价有效期起">
                                        <span class="lbl">运价有效期起 YYYYMMDDhhmmss</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        运价有效期止
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="FareValidOff" name="FareValidOff" value="${model.getFareValidOff()}" class="form-control"  placeholder="请输入运价有效期止">
                                        <span class="lbl">运价有效期止 YYYYMMDDhhmmss</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        起步价
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="StartFare" name="StartFare" value="${model.getStartFare()}" class="form-control" required placeholder="请输入起步价">
                                        <span class="lbl">起步价 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        起步里程
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="StartMile" name="StartMile" value="${model.getStartMile()}" class="form-control" required placeholder="请输入起步里程">
                                        <span class="lbl">起步里程 单位：km</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        计程单价（按公里）
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UnitPricePerMile" name="UnitPricePerMile" value="${model.getUnitPricePerMile()}" class="form-control" required placeholder="请输入计程单价（按公里）">
                                        <span class="lbl">计程单价（按公里） 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        计时单价（按分钟）
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UnitPricePerMinute" name="UnitPricePerMinute" value="${model.getUnitPricePerMinute()}" class="form-control" required placeholder="请输入计时单价（按分钟）">
                                        <span class="lbl">计时单价（按分钟） 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        单程加价单价
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UpPrice" name="UpPrice" value="${model.getUpPrice()}" class="form-control"  placeholder="请输入单程加价单价">
                                        <span class="lbl">单程加价单价 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        单程加价公里
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UpPriceStartMile" name="UpPriceStartMile" value="${model.getUpPriceStartMile()}" class="form-control"  placeholder="请输入单程加价公里">
                                        <span class="lbl">单程加价公里 单位：km</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        营运早高峰时间起
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="MorningPeakTimeOn" name="MorningPeakTimeOn" value="${model.getMorningPeakTimeOn()}" class="form-control" required placeholder="请输入营运早高峰时间起">
                                        <span class="lbl">营运早高峰时间起 HHmm(24小时)</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        营运早高峰时间止
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="MorningPeakTimeOff" name="MorningPeakTimeOff" value="${model.getMorningPeakTimeOff()}" class="form-control" required placeholder="请输入营运早高峰时间止">
                                        <span class="lbl">营运早高峰时间止 HHmm(24小时)</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        营运晚高峰时间起
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="EveningPeakTimeOn" name="EveningPeakTimeOn" value="${model.getEveningPeakTimeOn()}" class="form-control" required placeholder="请输入营运晚高峰时间起">
                                        <span class="lbl">营运晚高峰时间起 HHmm(24小时)</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        营运晚高峰时间止
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="EveningPeakTimeOff" name="EveningPeakTimeOff" value="${model.getEveningPeakTimeOff()}" class="form-control" required placeholder="请输入营运晚高峰时间止">
                                        <span class="lbl">营运晚高峰时间止 HHmm(24小时)</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        其他营运晚高峰时间起
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="OtherPeakTimeOn" name="OtherPeakTimeOn" value="${model.getOtherPeakTimeOn()}" class="form-control" placeholder="请输入其他营运晚高峰时间起">
                                        <span class="lbl">其他营运晚高峰时间起 HHmm(24小时)</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        其他营运晚高峰时间止
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="OtherPeakTimeOff" name="OtherPeakTimeOff" value="${model.getOtherPeakTimeOff()}" class="form-control" placeholder="请输入其他营运晚高峰时间起">
                                        <span class="lbl">其他营运晚高峰时间止 HHmm(24小时)</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        高峰时间单程加价单价 单位：元
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PeakUnitPrice" name="PeakUnitPrice" value="${model.getPeakUnitPrice()}" class="form-control" required placeholder="请输入高峰时间单程加价单价 单位：元">
                                        <span class="lbl">高峰时间单程加价单价 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        高峰时间单程加价单价 单位：km
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="PeakPriceStartMile" name="PeakPriceStartMile" value="${model.getPeakPriceStartMile()}" class="form-control" required placeholder="请输入高峰时间单程加价单价 单位：km">
                                        <span class="lbl">高峰时间单程加价单价 单位：km</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        低速计时加价
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="LowSpeedPricePerMinute" name="LowSpeedPricePerMinute" value="${model.getLowSpeedPricePerMinute()}" class="form-control" placeholder="请输入低速计时加价">
                                        <span class="lbl">低速计时加价（按分钟） 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        夜间费（按公里）
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="NightPricePerMile" name="NightPricePerMile" value="${model.getNightPricePerMile()}" class="form-control" placeholder="请输入夜间费（按公里）">
                                        <span class="lbl">夜间费（按公里） 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        夜间费（按分钟）
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="NightPricePerMinute" name="NightPricePerMinute" value="${model.getNightPricePerMinute()}" class="form-control" placeholder="请输入夜间费（按分钟）">
                                        <span class="lbl">夜间费（按分钟） 单位：元</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        其它加价金额
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="OtherPrice" name="OtherPrice" value="${model.getOtherPrice()}" class="form-control" placeholder="请输入其它加价金额">
                                        <span class="lbl">其它加价金额 单位：元</span>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        状态
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="State" name="State" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择状态</option>
                                            <option value="0" <#if 0 == model.getState()>selected="selected"</#if> >有效</option>
                                            <option value="1" <#if 1 == model.getState()>selected="selected"</#if> >失效</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        操作标识
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="Flag" name="Flag" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择操作标识</option>
                                            <option value="1" <#if 1 == model.getFlag()>selected="selected"</#if> >新增</option>
                                            <option value="2" <#if 2 == model.getFlag()>selected="selected"</#if> >更新</option>
                                            <option value="3" <#if 3 == model.getFlag()>selected="selected"</#if> >删除</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        更新时间
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UpdateTime" name="UpdateTime" value="${model.getUpdateTime()}" class="form-control" required placeholder="请输入更新时间" disabled>
                                        <span class="lbl">更新时间 网约车平台完成数据更新的时间 YYYYMMDDhhmmss</span>
                                    </div>
                                </div>

								<#if viewMode != "view">
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button id="btnSubmit" class="btn btn-info" type="submit">
											<i class="fa fa-check bigger-110"></i>
											提 交
										</button>
									</div>
								</div>
								</#if>
							</div>
						</div>
					</div>
				</form>
			</div>	
		</div>
		<script type="text/javascript">
		$(function(){
			$('.select-chosen').chosen();
			$('#form').validator();
		})
		</script>
	</body>
</html>